function add_init()
{
    var arr=document.getElementsByTagName('select');
    for (var i=arr.length-1;i>=0;i--) {
	var el = arr[i];
        if (el && (el.className == "")) el.className=el.options[el.selectedIndex].className;
    }
}

function add_go(el,id)
{
//    alert("Hello");
    var sel=el.options[el.selectedIndex];
    if (!sel) return false;
    el.className=sel.className;
    action.document.location="ch_prio.cgi?id="+ id + "&prio=" + sel.value;
    return true;
}